#!/bin/sh
echo -e "
***********************************************************************************************
the capture tools must to have the tcpdump and nc(or busybox) executable elf in android system\n
***********************************************************************************************
"
adb shell "fu -c 'tcpdump -n -s 0 -w - | busybox nc -l -p 7100'"&
sleep 10
adb forward tcp:6100 tcp:7100 && busybox nc 127.0.0.1 6100 | "/cygdrive/d/Program Files/Wireshark/Wireshark.exe" -k -S -i - 
